package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffTargetContPlanWorkTimeDto
 * @使用场景
 */
@Data
public class BffTargetContPlanWorkTimeDto implements Serializable {

  /**
   * 目标周期规划设置ID
   */
  @ApiModelProperty("目标周期规划设置ID")
  private String targetCyclePlanSetId;

  /**
   * 归属被评对象目标周期ID
   */
  @ApiModelProperty("归属被评对象目标周期ID")
  private String evaObjTargetCycleId;

  /**
   * 目标实际开始时间
   */
  @ApiModelProperty("目标实际开始时间")
  private Date targetActualStartTime;

  /**
   * 目标实际结束时间
   */
  @ApiModelProperty("目标实际结束时间")
  private Date targetActualEndtTime;

  /**
   * 计划验收时间
   */
  @ApiModelProperty("计划验收时间")
  private Date acceptancePlanTime;
/**
     * 周期名称 
     */
    @ApiModelProperty("周期名称")
    private String	 cycleStandardName;

    /**
     * 目标计划开始时间 
     */
    @ApiModelProperty("目标计划开始时间")
    private Date	 cycleStartTime;

    /**
     * 目标计划结束时间 
     */
    @ApiModelProperty("目标计划结束时间")
    private Date	 cycleEndTime;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffTargetContPlanWorkTimeDto that = (BffTargetContPlanWorkTimeDto) o;
      return  targetCyclePlanSetId == that.targetCyclePlanSetId&&evaObjTargetCycleId == that.evaObjTargetCycleId&&targetActualStartTime == that.targetActualStartTime&&targetActualEndtTime == that.targetActualEndtTime&&acceptancePlanTime == that.acceptancePlanTime&&cycleStandardName == that.cycleStandardName&&cycleStartTime == that.cycleStartTime&&cycleEndTime == that.cycleEndTime;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), targetCyclePlanSetId,evaObjTargetCycleId,targetActualStartTime,targetActualEndtTime,acceptancePlanTime,cycleStandardName,cycleStartTime,cycleEndTime);
    }

}
